﻿@using OA.Core
@using OA.Model
@using OA.Core.Helper
@{
    Layout = null;
    BaseConfig config = ViewBag.BaseConfig;
    Employee infoEmployee = ViewBag.Employee;

}
<!DOCTYPE html>
<html style="height:100%;">
<head>
    <meta charset="utf-8">
    <title>@ViewBag.Title---@config.SiteName</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="@ViewBag.OssUrl/front/layui/css/layui.css">
    <script type="text/javascript" src="@ViewBag.OssUrl/js/jquery-3.4.1.min.js"></script>
    <script type="text/javascript" src="@ViewBag.OssUrl/front/layui/layui.js"></script>
</head>
<body style="margin-top:0px;background-color:#fff;height:100%;">
    <div style="padding-right:40px;background-color:#fff; padding-top:20px;">
        @RenderBody()
    </div>
    <script type="text/javascript">
        function FinshAdd() {
            layer.closeAll();
            layer.msg("添加成功！");
            window.location.href = window.location.href;
        }

        function FinshEdit() {
            layer.closeAll();
            layer.msg("修改成功！");
            window.location.href = window.location.href;
        }

        function FinshOther(msg) {
            layer.closeAll();
            layer.msg(msg);
        }
        function showPage(title, url, width, height) {
            layer.open({
                type: 2,
                title: title,
                shade: [0.8, '#393D49'],
                shadeClose: true,
                resize: false,
                move: null,
                maxmin: false,
                area: [width + "px", height + "px"],
                content: url
            });
        }
    </script>
</body>
</html>